PATHMac OS 8 and 9 Developer Documentation > Interapplication Communication > AppleScript for Scripters >

AppleScript Language Guide

   

Name Conflicts

Each scripting addition that contains command handlers has its own dictionary, which lists the reserved words--including the command names, parameter labels, and in some cases object names--used to invoke the commands supported by the scripting addition. You can view a scripting addition's dictionary by dropping the scripting addition's icon on the Script Editor's icon, or by opening the scripting addition with the Script Editor's Open Dictionary command.

If a scripting addition dictionary includes words that are also part of an application dictionary, then you cannot use those words within Tell statements to that application.

IMPORTANT

Every event handler, class definition, and even enumeration that is defined in the dictionary of a scripting addition is global to AppleScript. If a common term such as "search" (or any other term) is used in a scripting addition, that effectively preempt its use in any scriptable application. If you are having trouble using a term with an application, check whether that term is also used in a scripting addition and, if necessary, remove that scripting addition.


© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)